<?

  if (!isset($config['gadgets']['comments']))
  {
    banner('<b>Comments gadget error</b>: you need to tell me how to access comments datasets
      before you start using me. <br/>Please add the following info to your site configuration:<br/>
      <pre style="color: black; font-family: monospace">'.htmlentities('
      $config[\'gadgets\'][\'comments\'] = array(
          \'table\' => <TABLENAME>,  
          \'text\' => <FIELD FOR TEXT>,  
          \'subject\' => <FIELD FOR SUBJECT>,  
          \'email\' => <FIELD FOR EMAIL>,  
          \'user\' => <FIELD FOR USERNAME>,  
          \'user_url\' => <OPTIONAL: FIELD FOR USERS URL>,  
          \'force-user\' => <OPTIONAL: HARD-CODE USERNAME>,  
          );').'</pre>');
  }
  else
  {
    
  }

?>